package com.itheima.subway.info.manage.domain;

public class Subways {
    private String subNum;
    private String subName;
    private String subLine;

    public Subways() {
    }

    public Subways(String subNum, String subName, String subLine) {
        this.subNum = subNum;
        this.subName = subName;
        this.subLine = subLine;
    }

    public String getSubNum() {
        return subNum;
    }

    public void setSubNum(String subNum) {
        this.subNum = subNum;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public String getSubLine() {
        return subLine;
    }

    public void setSubLine(String subLine) {
        this.subLine = subLine;
    }

    @Override
    public String toString() {
        return "Subways{" +
                "subNum='" + subNum + '\'' +
                ", subName='" + subName + '\'' +
                ", subLine='" + subLine + '\'' +
                '}';
    }
}
